package com.student.teacher.service;

import com.student.common.entity.Teacher;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * 教师服务接口
 * 
 * @author student
 * @date 2025
 */
public interface TeacherService {
    
    /**
     * 获取教师列表
     */
    Page<Teacher> getTeacherList(Pageable pageable, String name, String title, String department, String employeeId, String status);
    
    /**
     * 根据ID获取教师
     */
    Teacher getTeacherById(String teacherId);
    
    /**
     * 新增教师
     */
    boolean addTeacher(Teacher teacher);
    
    /**
     * 更新教师信息
     */
    boolean updateTeacher(Teacher teacher);
    
    /**
     * 删除教师
     */
    boolean deleteTeacher(String teacherId);
    
    /**
     * 获取教师总数
     */
    long getTeacherCount();
}
